let password = "123456";
if (!device.isScreenOn()) {
    device.wakeUp();
    sleep(2000);
}
gesture(320, [540, 1800], [540, 1000]);
if (password) {
    password.split("").forEach(p => {
        desc(p).findOne().click();
        sleep(250);
    });
}